IdeaBlade DevForce 2010 Help Reference
PageChanged Event
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryPager<T> Class : PageChanged Event



Fired after a page changes.

Syntax

Visual Basic (Declaration) 
Public Event PageChanged As EventHandler(Of EntityQueryPageChangedEventArgs(Of T))
Visual Basic (Usage)Copy Code
Dim instance As EntityQueryPager(Of T)
Dim handler As EventHandler(Of EntityQueryPageChangedEventArgs(Of T))
 
AddHandler instance.PageChanged, handler
C++/CLI 
public:
event EventHandler<EntityQueryPageChangedEventArgs<T^>^>^ PageChanged

Event Data

The event handler receives an argument of type EntityQueryPageChangedEventArgs<T> containing data related to this event. The following EntityQueryPageChangedEventArgs<T> properties provide information specific to this event.

PropertyDescription
Cancelled (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Returns whether the operation was cancelled.
CompletedSuccessfully (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Returns whether the operation completed successfully.
CompletedSynchronously (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Returns whether the operation was completed synchronously.
Error (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) The exception, if any, thrown by the underlying operation.
HasError (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Returns whether the operation failed.
IsCompleted (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Returns whether the operation completed.
IsErrorHandled (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Whether the Error was handled ( if one exists).
IsUnavailable (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Internal use only.
PageIndex The index of the page moved to.
Results The query results for the page.
UserState (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) Uniquely identifies the asynchronous operation.

Remarks

The EntityQueryPageChangedEventArgs<T> contain both the index of the new page and the contents of that page.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.